﻿
using AutoMapper;
using BCCommon;
using BCCommon.Enums;
using BCDto.TMS.EasyMoveSuiteConfigTemplate;
using BCEntity.TMS.EasyMoveSuiteConfigTemplate;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.MapperProfiles.TMS
{
    public class EasyMoveSuiteConfigTemplateProfile : Profile
    {
        public EasyMoveSuiteConfigTemplateProfile()
        {

            //便捷搬家套餐配置模板
            CreateMap<EasyMoveSuiteConfigTemplateDto, EasyMoveSuiteConfigTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigTemplateRequestDto, EasyMoveSuiteConfigTemplatePutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigTemplateRequestDto, EasyMoveSuiteConfigTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigTemplatePutDto, EasyMoveSuiteConfigTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigTemplateEntity, EasyMoveSuiteConfigTemplateDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}